home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / SpriteWorld 2.0 ƒ / SpriteWorld Examples / Scrolling Demo / Scrolling Demo Read Me < prev    next >
Encoding:
Text File  |  1996-10-12  |  1.5 KB  |  9 lines  |  [TEXT/ttxt]

  1. This is a rather simple project that demonstrates how to use the scrolling and tiling routines. The code is very similar to the code used for non-scrolling SpriteWorlds, and is not really any harder to set up. Use the numberic keypad or the arrow keys to move your ball around on the screen.
  2.  
  3. This program demonstrates some of the special effects that can be accomplished when using the tiling routines, such as having tiles that change frames (the diamond and wall tiles), and tiles that appear in front of your sprites. If you scroll down far enough, you can find the tiles that appear above your sprite. Move under the bridge to get to the other side, where your sprite can move under the "wire" tiles. It's a pretty neat effect, and shows how you can make games that have psudo-3D landscapes by having some tiles appear above your sprites.
  4.  
  5. This demo is limited to 30fps so that the sprite isn't too hard to control on faster Macs. If you want to see how fast it can really go, try setting kMaxFPS (a #defined value at the beginning of Scrolling Demo.c) to 0, which tells SpriteWorld to let the animation run as fast as it can. Also, for maximum speed, try running in either 256 colors or in B&W. The FPS report given at the end of the animation isn't completely accurate - it may be off by a few FPS one way or the other.
  6.  
  7. This demo is actually a bare-bones version of a game I'm planning on making in the near future. Look for the title "Diamond Digger" in a year or so.
  8.  
  9. Vern Jensen